-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove the annoying tail message shows on every command with -h or --help #1490
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR. I've made a suggestion for a way to refactor is, and avoid repeating ourselves for each package.
Co-authored-by: Hariom Verma <hariom18599@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution 🙏
I've left some minor comments, otherwise it seems good to go
@Halimao You can run the linter using |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1490 +/- ##
==========================================
+ Coverage 55.85% 56.11% +0.26%
==========================================
Files 431 432 +1
Lines 65839 66076 +237
==========================================
+ Hits 36773 37078 +305
+ Misses 26185 26102 -83
- Partials 2881 2896 +15
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Hi sir, is there anything else that needs to be added? |
Hey @Halimao, I forgot to approve the workflow, but I checked the changes again and as I expected, there are some failing tests (that depended on There's also a build failing in contribs :) Also pinging @zivkovicmilos to hear whether he agrees with the renaming. Thanks! |
@thehowl Hi sir, I have fixed the failed tests, I think we can go now😀 |
…or --help (gnolang#1490) This PR fixed the tail error message on every command with -h or --help: `error parsing commandline arguments: flag: help requested` Before: ![image](https://github.com/gnolang/gno/assets/25278203/8bc998d6-8d6a-45e0-aeca-7957cc15b96a) After: ![image](https://github.com/gnolang/gno/assets/25278203/a2ab7b5a-0dd2-4bcc-a8d1-49e71e1e3d51) --------- Co-authored-by: Hariom Verma <hariom18599@gmail.com>
This PR fixed the tail error message on every command with -h or --help:
error parsing commandline arguments: flag: help requested
Before:
After: